package cn.iocoder.yudao.module.shop.controller.admin.giftcard.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 礼品卡 Excel VO
 *
 * @author 曹建伟
 */
@Data
public class ShopGiftCardExcelVO {

    @ExcelProperty("编号")
    private Long id;

    @ExcelProperty("礼品id")
    private Long giftId;

    @ExcelProperty("卡号")
    private String cardId;

    @ExcelProperty("卡密")
    private String cardPwd;

    @ExcelProperty(value = "是否已经绑定", converter = DictConvert.class)
    @DictFormat("infra_boolean_string") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Boolean binded;

    @ExcelProperty("绑定的手机号")
    private String mobile;

    @ExcelProperty("来源")
    private String source;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
